/// 我喜欢的数据模型
class Favourite {
  String url;
  String title;

  Favourite(this.url, this.title);

  Favourite.fromJson(Map<String, dynamic> json)
      : url = json['url'],
        title = json['title'];

  Map<String, dynamic> toJson() => {'url': url, 'title': title};
}
